<template>
  <div>
    <div class="dialog-content">
      <el-form
        ref="dealMajorForm"
        :model="dealMajorForm"
        :inline="true"
        style="
          max-height: 600px;
          overflow:hidden;
          overflow-y:auto;
          "
        label-width="200px"
        :rules="rules"
      >
        <el-form-item label="公司全称" prop="customerLongName">
          <el-input v-model="dealMajorForm.customerLongName" :disabled = true > </el-input>
        </el-form-item>

        <el-form-item label="公司简称" prop="customerShortName">
          <el-input v-model="dealMajorForm.customerShortName" :disabled = true> </el-input>
        </el-form-item>

        <el-form-item label="组织机构代码" prop="orgInstitutionBarCode">
          <el-input v-model="dealMajorForm.orgInstitutionBarCode"> </el-input>
        </el-form-item>

        <el-form-item label="统一社会信用代码" prop="creditCode" :disabled = true>
          <el-input v-model="dealMajorForm.creditCode"> </el-input>
        </el-form-item>

        <el-form-item label="法定代表人" prop="securitiesRepresentative">
          <el-input v-model="dealMajorForm.securitiesRepresentative">
          </el-input>
        </el-form-item>

        <el-form-item label="注册资本" prop="registeredCapital">
          <el-input v-model="dealMajorForm.registeredCapital"> </el-input>
        </el-form-item>

        <el-form-item label="实缴资本" prop="paidInCapital">
          <el-input v-model="dealMajorForm.paidInCapital"> </el-input>
        </el-form-item>

        <el-form-item label="行业分类" prop="industryClassification">
          <el-input v-model="dealMajorForm.industryClassification"> </el-input>
        </el-form-item>

        <el-form-item label="公司类型" prop="corpOwnership">
          <el-input v-model="dealMajorForm.corpOwnership"> </el-input>
        </el-form-item>

        <el-form-item label="主证件类型" prop="idType">
          <el-input v-model="dealMajorForm.idType" :disabled=true > </el-input>
        </el-form-item>


        <el-form-item label="主证件号码" prop="idNumber">
          <el-input v-model="dealMajorForm.idNumber" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="注册登记国家" prop="regCountry">
          <el-input v-model="dealMajorForm.regCountry"> </el-input>
        </el-form-item>

        <el-form-item label="辅证件类型" prop="auxDocType">
          <el-input v-model="dealMajorForm.auxDocType" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="辅证件号码" prop="auxDocNum">
          <el-input v-model="dealMajorForm.auxDocNum" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="创建渠道" prop="creationCh">
          <el-input v-model="dealMajorForm.creationCh"> </el-input>
        </el-form-item>

        <el-form-item label="同业属性" prop="ibankProp">
          <el-input v-model="dealMajorForm.ibankProp" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="国民经济行业类型(门类)" prop="indCat">
          <el-input v-model="dealMajorForm.indCat" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="国民经济行业类型(大类)" prop="indClass">
          <el-input v-model="dealMajorForm.indClass" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="注册地址" prop="registeredAddress">
          <el-input v-model="dealMajorForm.registeredAddress" :disabled = true> </el-input>
        </el-form-item>

        <el-form-item label="经营状态" prop="operatingState">
          <el-input v-model="dealMajorForm.operatingState"> </el-input>
        </el-form-item>

        <el-form-item label="成立日期" prop="dateOfEstablishment">
<!--          <el-date-picker-->
<!--              v-model="dealMajorForm.dateOfEstablishment"-->
<!--              type="date"-->
<!--              placeholder="选择日期"-->
<!--              value-format="yyyy-MM-dd"-->
<!--          >-->
<!--          </el-date-picker>-->
          <el-input v-model="dealMajorForm.dateOfEstablishment"> </el-input>
        </el-form-item>

        <el-form-item label="办公地址" prop="officeAddress">
          <el-input v-model="dealMajorForm.officeAddress"> </el-input>
        </el-form-item>

        <el-form-item label="疑似实际控制人" prop="suspectedActualController">
          <el-input v-model="dealMajorForm.suspectedActualController">
          </el-input>
        </el-form-item>

        <el-form-item label="核准日期" prop="dateOfApproval">
<!--          <el-date-picker-->
<!--              v-model="dealMajorForm.dateOfApproval"-->
<!--              type="date"-->
<!--              placeholder="选择日期"-->
<!--              value-format="yyyy-MM-dd"-->
<!--          >-->
<!--          </el-date-picker>-->
          <el-input v-model="dealMajorForm.dateOfApproval"> </el-input>
        </el-form-item>

        <el-form-item label="注册号" prop="registrationNumber">
          <el-input v-model="dealMajorForm.registrationNumber"> </el-input>
        </el-form-item>

        <el-form-item label="营业期限" prop="operatingTerm">
          <el-input v-model="dealMajorForm.operatingTerm"> </el-input>
        </el-form-item>

        <el-form-item label="登机机关" prop="registrationAuthority">
          <el-input v-model="dealMajorForm.registrationAuthority"> </el-input>
        </el-form-item>

        <el-form-item label="公司英文名" prop="companyEnglishName">
          <el-input v-model="dealMajorForm.companyEnglishName"> </el-input>
        </el-form-item>

        <el-form-item label="人员规模" prop="personnelSize">
          <el-input v-model="dealMajorForm.personnelSize" :disabled = true> </el-input>
        </el-form-item>

        <el-form-item label="参保人数" prop="insuredNumber">
          <el-input v-model="dealMajorForm.insuredNumber"> </el-input>
        </el-form-item>

        <el-form-item label="所属省份" prop="cusBlocks">
          <el-input v-model="dealMajorForm.cusBlocks" :disabled = true> </el-input>
        </el-form-item>

        <el-form-item label="是否上市" prop="toListOrNot">
          <el-input v-model="dealMajorForm.toListOrNot"> </el-input>
        </el-form-item>

        <el-form-item label="ECIF编号" prop="ecifCustId">
          <el-input v-model="dealMajorForm.ecifCustId"> </el-input>
        </el-form-item>

        <el-form-item label="上级主管单位客户号" prop="supCustNumber">
          <el-input v-model="dealMajorForm.supCustNumber" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="上级主管单位名称" prop="supName">
          <el-input v-model="dealMajorForm.supName" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="上级主管单位主证件类型" prop="supIdType">
          <el-input v-model="dealMajorForm.supIdType" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="上级主管单位主证件号码" prop="supIdNumber">
          <el-input v-model="dealMajorForm.supIdNumber" :disabled=true > </el-input>
        </el-form-item>

        <el-form-item label="经营范围" prop="businessScope">
          <el-input v-model="dealMajorForm.businessScope"> </el-input>
        </el-form-item>

        <el-form-item label="简介" prop="companyIntro">
          <el-input v-model="dealMajorForm.companyIntro"> </el-input>
        </el-form-item>

        <el-form-item label="客户属性细分" prop="customerAttributeDetail">
          <el-input v-model="dealMajorForm.customerAttributeDetail"> </el-input>
        </el-form-item>

        <el-form-item label="签署战略" prop="strategicSign">
          <el-input v-model="dealMajorForm.strategicSign"> </el-input>
        </el-form-item>

        <el-form-item label="贡献度排名" prop="contributeOrder">
          <el-input v-model="dealMajorForm.contributeOrder"> </el-input>
        </el-form-item>

        <el-form-item label="公司官网" prop="comWebsite">
          <el-input v-model="dealMajorForm.comWebsite"> </el-input>
        </el-form-item>

        <el-form-item label="客户类型" prop="custCat">
          <el-input v-model="dealMajorForm.custCat"> </el-input>
        </el-form-item>

      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '新增',
    },
    dealMajorForm:{
      type: Object,
      default:{},
    }
  },
  data() {
    return {
      importToFromTypeOptions: [],
      importDireOptions: [],
      importGroupOptions: [],
      dealStatus: [
        {
          label: '新增',
          value: 'I',
        },
        {
          label: '修改',
          value: 'U',
        },
        {
          label: '删除',
          value: 'D',
        },
      ],
      rules: {
        tradeStatus: [{ required: true, message: '必填项', trigger: 'blur' }],
        dataBatchDate: [{ required: true, message: '必填项', trigger: 'blur' }],
        productName: [{ required: true, message: '必填项', trigger: 'blur' }],
        tradeType: [{ required: true, message: '必填项', trigger: 'blur' }],
        bookName: [{ required: true, message: '必填项', trigger: 'blur' }],
        cptFullCnnm: [{ required: true, message: '必填项', trigger: 'blur' }],
        tradeDate: [{ required: true, message: '必填项', trigger: 'blur' }],
      },
      TradeDataCenterCptFullCnnmDialogVisible: false,
    }
  },
}
</script>

<style lang="scss" scoped>
.dialog-content {
  margin-bottom: 15px;
  .content-title {
    background-color: #354060;
    line-height: 36px;
    text-align: center;
  }
  .form-content {
    padding: 16px 0;
  }
}
.search-icon {
  position: absolute;
  top: 0;
  right: -36px;
  color: #fff;
  z-index: 999;
  background-color: #1f9bfd;
  line-height: 32px;
  width: 32px;
  text-align: center;
  border-radius: 2px;
  cursor: pointer;
}

</style>
